package com.gxan.dao;

import com.gxan.pojo.House;

import java.sql.SQLException;
import java.util.List;

public interface HouseDao {
    //查询总记录数
//    Integer countHouse() throws SQLException;
    Integer countHouse(String... huzhu_name) throws SQLException;
    //查询房产信息
//    List<House> queryHouseList(Integer param01, Integer param02) throws SQLException;
    List<House> queryHouseList(Integer param01, Integer param02,String... huzhu_name) throws SQLException;

    int delHouseById(String id) throws SQLException;

    int updateHouse(House house) throws SQLException;
    int addHouse(House house) throws SQLException;
}
